-
Notifications
You must be signed in to change notification settings - Fork 160
Add kubevirt platform #260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kubevirt platform #260
Conversation
|
Hi, is there a Jira for this work? I would like to better understand the goal. I'm surprised to see kubevirt treated as a cloud platform -- I thought it was more of an addon to OCP. |
|
@gregsheremeta The epic is https://issues.redhat.com/browse/OCPCNV-1 |
f95d4a6 to
662fdba
Compare
ravidbro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, I don't understand why do we need so much of code duplication between the actuators when the difference is only how to create the data for the secret when needed but all the flow is the same.
Of course, not for this PR
662fdba to
b10eba2
Compare
b10eba2 to
2f0b549
Compare
645975e to
e06155d
Compare
e06155d to
94f3d43
Compare
|
/test e2e-aws |
91a9ed6 to
67a2a20
Compare
|
/test verify |
|
@bardielle: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
67a2a20 to
9410bbe
Compare
|
/test verify |
9410bbe to
0695dfb
Compare
|
/retest |
1 similar comment
|
/retest |
joelddiaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
@dgoodwin you want to give this PR a look? I'm satisfied with how it is, but since it is adding a new platform type, this isn't the typical PR content. |
dgoodwin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple extremely minor requests, this looks good to me. Very interesting enhancement.
pkg/kubevirt/actuator.go
Outdated
| "context" | ||
| "fmt" | ||
| "github.com/openshift/cloud-credential-operator/pkg/operator/constants" | ||
| actuatoriface "github.com/openshift/cloud-credential-operator/pkg/operator/credentialsrequest/actuator" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imports should be grouped a little better, looks like standard library, random things like logrus, k8s, and openshift.
pkg/kubevirt/actuator.go
Outdated
| return err | ||
| } | ||
| if existingSecret != nil { | ||
| logger.Debug("Deleting existing secret") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger.Info for this one please.
README.md
Outdated
| # Cloud Providers | ||
|
|
||
| Currently the operator supports AWS, GCP, Azure, VMWare, OpenStack and oVirt. | ||
| Currently the operator supports AWS, Azure, GCP, kubeVirt, OpenStack. oVirt and VMWare. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The constant in the Infrastructure API looks like "KubeVirt" which would look a little more natural to me here, could we sync up on that casing across the docs/PR for consistency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed all the cases in documentation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bardielle, dgoodwin The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
18 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
Add kubevirt platform
Our main goal is creating a tenant cluster on top of existing OpenShift/Kubernetes cluster by creating virtualMachines (using kubevirt) for every node in the tenant cluster (masters and also workers nodes)
You can find more information here: openshift/enhancements#417